package cn.kk.librarysystem.service.impl;
/*
 *@author KK on 2022.10.14 20:30
 */

import cn.kk.librarysystem.mapper.StudentMapper;
import cn.kk.librarysystem.pojo.Student;
import cn.kk.librarysystem.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public int addStu(Student student) {
        int i = studentMapper.addStu(student);
        return i;
    }
}
